<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="../../js/logistics.js" language="javascript"></script>
<title>无标题文档</title>
</head>
<script>
	function selAll(){
		
	var chkVal = document.getElementById("chk1").checked;
	if (chkVal){
		document.getElementById("chk1").removeAttribute('checked');
	}else{
		document.getElementById("chk1").setAttribute('checked','checked');
		
	}

	}
	function custDel(){
		var ch1Val = document.getElementById("chk1").checked;	
		if(ch1Val){
			confirmDel();
		}else{
			alert('请至少选择一条记录!');
		}	
	}
	function custUpdate(){
		var ch1Val = document.getElementById("chk1").checked;	
		if(ch1Val){
			location.href = "updateCar.html";
		}else{
			alert('请至少选择一条记录!');
		}	
	}
</script>
<body>
<h2>车辆管理</h2>
<fieldset>
	<legend>查询条件</legend>
    <form>
<table width="99%">
        	<tr>
            	<td>车牌号:</td>
                <td><input name="" type="text" /></td>
                <td>车主姓名:</td>
                <td><input name="" type="text" /></td>
                <td>司机姓名:</td>
                <td><input name="" type="text" /></td>
                <td><input name="" type="button" value="查询" /><input name="" type="reset" value="重置" /></td>
             
</tr>
      </table>
    </form>
</fieldset>
<table border="1" cellspacing="0" cellpadding="0">
  <tr>
    <td colspan="16"><a href="addCar.html">新增</a> <a href="#" onclick="custUpdate()">修改</a> <a href="#" onclick="custDel()">删除</a> <a href="../../export/carinfo.xlsx">导出</a></td>
  </tr>
  <tr>
    <td rowspan="2"><input type="checkbox" name="chkall" id="chkall" onclick="selAll()" /></td>
    <td rowspan="2">序号</td>
    <td rowspan="2">车牌号</td>
    <td rowspan="2">车辆编号</td>
    <td rowspan="2">车辆类型</td>
    <td colspan="4">车主信息</td>
    <td colspan="4">司机信息</td>
    <td colspan="3">车辆保险</td>
  </tr>
  <tr>
    <td>姓名</td>
    <td>电话</td>
    <td>地址</td>
    <td>证件号</td>
    <td>姓名</td>
    <td>电话</td>
    <td>地址</td>
    <td>证件号</td>
    <td>保险日期</td>
    <td>大验日期</td>
    <td>小验日期</td>
  </tr>
  <tr>
    <td><input type="checkbox" name="chk1" id="chk1" on />
    </td>
    <td>1</td>
    <td>陕A-12345</td>
    <td>C100</td>
    <td>卡车</td>
    <td>张三</td>
    <td>13098502465</td>
    <td>陕西西安</td>
    <td>610201197511254567</td>
    <td>李四</td>
    <td>15812345678</td>
    <td>陕西汉中</td>
    <td>56987451354545</td>
    <td>2013-01-02</td>
    <td>2013-05-02</td>
    <td>2014-05-01</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="90%">
	<tr>
    	<td>
        	<div style="float:left">总共5页，当前第1页</div>
       		<div style="float:right">首页 上一页 下一页 尾页</div>
        </td>
    </tr>
</table>
</body>
</html>
